package com.hmall.item;

/**
 * Hello world!
 *
 */

import com.hmall.api.client.ItemClient;
import com.hmall.api.config.DefaultFeignConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;


@MapperScan("com.hmall.item.mapper")
@EnableFeignClients(clients = {ItemClient.class},defaultConfiguration = DefaultFeignConfig.class)
@SpringBootApplication
public class ItemApplication
{
    public static void main( String[] args )
    {
        SpringApplication.run(ItemApplication.class, args);
    }
}
